package com.shop.shoporder.service;


import com.shop.shoporder.entity.order.UserAddress;

import java.util.List;

public interface UserAddressService {

    int deleteByPrimaryKey(Integer id) throws Exception;

    int insert(UserAddress record) throws Exception;

    int insertSelective(UserAddress record) throws Exception;

    UserAddress selectByPrimaryKey(Integer id) throws  Exception;

    int updateByPrimaryKeySelective(UserAddress record) throws Exception;

    int updateByPrimaryKey(UserAddress record) throws  Exception;

    List<UserAddress> getAddressList(int userNoId) throws Exception;

    UserAddress getAddressDefault(Integer userNoId);
    int updateIsDelete(Integer id);

    UserAddress getAddressAll(UserAddress userAddress);

    int updateAddressStateByUserId(Integer userNoId);
}
